package net.maku.module.staff.convert;

import net.maku.module.staff.entity.StaffEntity;
import net.maku.module.staff.vo.StaffVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业务_员工
 *
 * @author
 */
@Mapper
public interface StaffConvert {
    StaffConvert INSTANCE = Mappers.getMapper(StaffConvert.class);

    StaffEntity convert(StaffVO vo);

    StaffVO convert(StaffEntity entity);

    List<StaffVO> convertList(List<StaffEntity> list);

}